import type { TableColumnsType } from 'antd';
interface DataType {
  id: number | string;
  username: string | null;
  nickname: string | null;
  phoneNumber: string | null;
}
export const columns: TableColumnsType<DataType> = [
  {
    title: '用户名',
    dataIndex: 'username',
    ellipsis: true,

    align: 'center',
  },
  {
    title: '昵称',
    dataIndex: 'nickname',
    ellipsis: true,

    align: 'center',
  },
  {
    title: '手机号',
    dataIndex: 'phoneNumber',
    ellipsis: true,
  },
  {
    title: '邮箱',
    dataIndex: 'email',
    ellipsis: true,
  },
  {
    title: '头像',
    dataIndex: 'headPic',
    ellipsis: true,
  },
  {
    title: '创建时间',
    dataIndex: 'createTime',
    ellipsis: true,
  },
];
